package com.shopping.bean;

import java.util.Date;

public class OrderGoods {

	public String thisTable = "OrderGoods";
	private int Oid;//订单号
	
	private double priceSum;//总价
	
	private int userId;//用户id
	
	private Date time;//下单时间

	public String getThisTable() {
		return thisTable;
	}

	public void setThisTable(String thisTable) {
		this.thisTable = thisTable;
	}

	public int getOid() {
		return Oid;
	}

	public void setOid(int oid) {
		Oid = oid;
	}

	public double getPriceSum() {
		return priceSum;
	}

	public void setPriceSum(double priceSum) {
		this.priceSum = priceSum;
	}

	public int getUserId() {
		return userId;
	}

	public void setUserId(int userId) {
		this.userId = userId;
	}

	public Date getTime() {
		return time;
	}

	public void setTime(Date time) {
		this.time = time;
	}

	public OrderGoods(int oid, double priceSum, int userId, Date time) {
		super();
		Oid = oid;
		this.priceSum = priceSum;
		this.userId = userId;
		this.time = time;
	}

	public OrderGoods() {
		super();
		// TODO Auto-generated constructor stub
	}

	@Override
	public String toString() {
		return "OrderGoods [thisTable=" + thisTable + ", Oid=" + Oid + ", priceSum=" + priceSum + ", userId=" + userId
				+ ", time=" + time + "]";
	}
	
}
